package domain.entities.impl;

import domain.entities.interfaces.IAddress;

public class Address implements IAddress {
	
	private int id;
	private String street;
	private String city;
	private String zip;
	private String country;
	private int version;
	
	
	
	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}
	
	public Address(String street, String city, String zip, String country) {
		this.street = street;
		this.city = city;
		this.zip = zip;
		this.country = country;
	}
	
	public Address() {
		super();
	}
	
	
	
	//IDs
	/* (non-Javadoc)
	 * @see domain.entities.impl.IAddress#getId()
	 */
	public int getId() {
		return id;
	}
	/* (non-Javadoc)
	 * @see domain.entities.impl.IAddress#setId(int)
	 */
	public void setId(int id) {
		this.id = id;
	}
	
	
	
	//STREETs
	/* (non-Javadoc)
	 * @see domain.entities.impl.IAddress#getStreet()
	 */
	public String getStreet() {
		return street;
	}
	/* (non-Javadoc)
	 * @see domain.entities.impl.IAddress#setStreet(java.lang.String)
	 */
	public void setStreet(String street) {
		this.street = street;
	}
	
	
	
	//CITYs
	/* (non-Javadoc)
	 * @see domain.entities.impl.IAddress#getCity()
	 */
	public String getCity() {
		return city;
	}
	/* (non-Javadoc)
	 * @see domain.entities.impl.IAddress#setCity(java.lang.String)
	 */
	public void setCity(String city) {
		this.city = city;
	}
	
	
	
	//ZIPs
	/* (non-Javadoc)
	 * @see domain.entities.impl.IAddress#getZip()
	 */
	public String getZip() {
		return zip;
	}
	/* (non-Javadoc)
	 * @see domain.entities.impl.IAddress#setZip(java.lang.String)
	 */
	public void setZip(String zip) {
		this.zip = zip;
	}
	
	
	
	//COUNTRYs
	/* (non-Javadoc)
	 * @see domain.entities.impl.IAddress#getCountry()
	 */
	public String getCountry() {
		return country;
	}
	/* (non-Javadoc)
	 * @see domain.entities.impl.IAddress#setCountry(java.lang.String)
	 */
	public void setCountry(String country) {
		this.country = country;
	}
}
